import request from "@/utils/request"

const implement = {
  list(params){
    return request.get("/kjsf/project/implementList",{params})
  },
  myList(params){
    return request.get("/kjsf/project/myImplementList",{params})
  },
  // 新增实施方案基本信息
  projectEmbodimentAdd(data){
    return request.post("/kjsf/projectEmbodiment/add", data)
  },
  projectEmbodimentUpdate(data){
    return request.post("/kjsf/projectEmbodiment/update", data)
  },
  projectEmbodimentGet(id){
    return request.get(`/kjsf/projectEmbodiment/detail/${id}`)
  },
  projectEmbodimentGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodiment/getByProjectId/${id}`)
  },
  projectEmbodimentSubmit(data) {
    return request.post('/kjsf/projectEmbodiment/submit', data);
  },
  projectEmbodimentGetAll(id){
    return request.get(`/kjsf/projectEmbodiment/allDetail/${id}`)
  },
  projectEmbodimentDel(id){
    return request.post(`/kjsf/projectEmbodiment/delete/${id}`)
  },
  // 新增概述信息
  projectEmbodimentSummarizeAdd(data){
    return request.post("/kjsf/projectEmbodimentSummarize/add", data)
  },
  projectEmbodimentSummarizeUpdate(data){
    return request.post("/kjsf/projectEmbodimentSummarize/update", data)
  },
  projectEmbodimentSummarizeGet(id){
    return request.get(`/kjsf/projectEmbodimentSummarize/detail/${id}`)
  },
  projectEmbodimentSummarizeGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodimentSummarize/getByProjectId/${id}`)
  },

  projectEmbodimentBasisAdd(data){
    return request.post("/kjsf/projectEmbodimentBasis/add",data)
  },
  projectEmbodimentBasisUpdate(data){
    return request.post("/kjsf/projectEmbodimentBasis/update", data)
  },
  projectEmbodimentBasisGet(id){
    return request.get(`/kjsf/projectEmbodimentBasis/detail/${id}`)
  },

  projectEmbodimentBasisGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodimentBasis/getByProjectId/${id}`)
  },

  projectEmbodimentSkillAdd(data){
    return request.post("/kjsf/projectEmbodimentSkill/add",data)
  },
  projectEmbodimentSkillUpdate(data){
    return request.post("/kjsf/projectEmbodimentSkill/update", data)
  },
  projectEmbodimentSkillGet(id){
    return request.get(`/kjsf/projectEmbodimentSkill/detail/${id}`)
  },

  projectEmbodimentSkillGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodimentSkill/getByProjectId/${id}`)
  },

  projectEmbodimentContentAdd(data){
    return request.post("/kjsf/projectEmbodimentContent/add",data)
  },
  projectEmbodimentContentUpdate(data){
    return request.post("/kjsf/projectEmbodimentContent/update", data)
  },
  projectEmbodimentContentGet(id){
    return request.get(`/kjsf/projectEmbodimentContent/detail/${id}`)
  },
  projectEmbodimentContentGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodimentContent/getByProjectId/${id}`)
  },

  projectEmbodimentAssessAdd(data){
    return request.post("/kjsf/projectEmbodimentAssess/add",data)
  },
  projectEmbodimentAssessUpdate(data){
    return request.post("/kjsf/projectEmbodimentAssess/update", data)
  },
  projectEmbodimentAssessGet(id){
    return request.get(`/kjsf/projectEmbodimentAssess/detail/${id}`)
  },
  projectEmbodimentAssessGetByProjectId(id){
    return request.get(`/kjsf/projectEmbodimentAssess/getByProjectId/${id}`)
  },
  projectResearchPlanAdd(data){
    return request.post("/kjsf/projectResearchPlan/addList",data)
  },

  projectCompanyAdd(data){
    return request.post("/kjsf/projectCompany/addList",data)
  },


  projectEmbodimentBudgetAdd(data){
    return request.post("/kjsf/projectEmbodimentBudget/add",data)
  },
  projectEmbodimentBudgetUpdate(data){
    return request.post("/kjsf/projectEmbodimentBudget/update", data)
  },
  projectEmbodimentBudgetGet(id){
    return request.get(`/kjsf/projectEmbodimentBudget/detail/${id}`)
  },

  projectEmbodimentEconomyAdd(data){
    return request.post("/kjsf/projectEmbodimentEconomy/add",data)
  },
  projectEmbodimentEconomyUpdate(data){
    return request.post("/kjsf/projectEmbodimentEconomy/update", data)
  },
  projectEmbodimentEconomyGet(id){
    return request.get(`/kjsf/projectEmbodimentEconomy/detail/${id}`)
  },

  projectEmbodimentOtherAdd(data){
    return request.post("/kjsf/projectEmbodimentOther/add",data)
  },
  projectEmbodimentOtherUpdate(data){
    return request.post("/kjsf/projectEmbodimentOther/update", data)
  },
  projectEmbodimentOtherGet(id){
    return request.get(`/kjsf/projectEmbodimentOther/detail/${id}`)
  },
  projectEmbodimentProveAdd(data){
    return request.post("/kjsf/projectEmbodimentProve/add",data)
  },
  projectEmbodimentProveUpdate(data){
    return request.post("/kjsf/projectEmbodimentProve/update", data)
  },
  projectEmbodimentProveGet(id){
    return request.get(`/kjsf/projectEmbodimentProve/detail/${id}`)
  },
  projectEmbodimentPdf(id){
    return request.post(`/kjsf/projectEmbodiment/createPdfByWindows/${id}`);
  },
  // 我的可变更项目列表
  changeApplyMyProjectList(params){
    return request.get(`/kjsf/project/myChangeList`,{params});
  },
  // 执行情况报告
  performanceReportList(params){
    return request.get('/kjsf/projectAnnualReport/list', {params});
  },
  performanceReportMyList(params){
    return request.get('/kjsf/projectAnnualReport/myList', {params});
  },
  performanceReportAdd(data){
    return request.post('/kjsf/projectAnnualReport/add', data);
  },
  performanceReportUpdate(data){
    return request.post('/kjsf/projectAnnualReport/update', data);
  },
  performanceReportSubmit(data){
    return request.post('/kjsf/projectAnnualReport/submit', data);
  },
  performanceReportGet(id){
    return request.get(`/kjsf/projectAnnualReport/detail/${id}`);
  },
  performanceReportDel(id){
    return request.post(`/kjsf/projectAnnualReport/delete/${id}`);
  },
  getPerformanceReportAll(id){
    return request.get(`/kjsf/projectAnnualReport/allDetail/${id}`);
  },
  performanceReportPlanAdd(data){
    return request.post('/kjsf/projectAnnualReportPlan/add', data);
  },
  performanceReportPlanUpdate(data){
    return request.post('/kjsf/projectAnnualReportPlan/update', data);
  },
  performanceReportPlanGetByReportId(id){
    return request.get(`/kjsf/projectAnnualReportPlan/getByReportId/${id}`);
  },
  performanceReportResultsAdd(data){
    return request.post('/kjsf/projectAnnualReportGetResults/add', data);
  },
  performanceReportResultsUpdate(data){
    return request.post('/kjsf/projectAnnualReportGetResults/update', data);
  },
  performanceReportResultsGetByReportId(id){
    return request.get(`/kjsf/projectAnnualReportGetResults/getByReportId/${id}`);
  },
  performanceReportExperienceAdd(data){
    return request.post('/kjsf/projectAnnualReportExperience/add', data);
  },
  performanceReportExperienceUpdate(data){
    return request.post('/kjsf/projectAnnualReportExperience/update', data);
  },
  performanceReportExperienceGetByReportId(id){
    return request.get(`/kjsf/projectAnnualReportExperience/getByReportId/${id}`);
  },
  performanceReportTableAdd(data){
    return request.post('/kjsf/projectAnnualReportTable/add', data);
  },
  performanceReportTableUpdate(data){
    return request.post('/kjsf/projectAnnualReportTable/update', data);
  },
  performanceReportTableGetByReportId(id){
    return request.get(`/kjsf/projectAnnualReportTable/getByReportId/${id}`);
  },
  performanceReportPDF(id){
    return request.post(`/kjsf/projectAnnualReport/createPdfByWindows/${id}`);
  },
}
export default implement
